<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        a{
            text-decoration: none;
            background-color:#03AAAA;
            width: 120px;
            height: 58px;
            color: #fff;
            display: inline-block;
            text-align: center;
            line-height: 50px;
        }
        .q{
            background-image: url(../image/bg1.png);
        }
        .w{
            background-image: url(../image/bg2.png);
        }
        .e{
            background-image: url(../image/bg3.png);
        }
        .r{
            background-image: url(../image/bg4.png);
        }
        .d{
            background-image: url(../image/bg5.png);
        }
        .q:hover{
            background-image: url(../image/bg5.png);
        }
        .w:hover{
            background-image: url(../image/bg4.png);
        }
        .e:hover{
            background-image: url(../image/bg2.png);
        }
        .r:hover{
            background-image: url(../image/bg3.png);
        }
        .d:hover{
            background-image: url(../image/bg1.png);
        }
    </style>
</head>
<body>
    <a href="#" class="q">导航1</a>
    <a href="#" class="w">导航2</a>
    <a href="#" class="e">导航3</a>
    <a href="#" class="r">导航4</a>
    <a href="#" class="d">导航5</a>

</body>
</html>